# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-azure-mgmt-security
_pkgname=azure-mgmt-security
pkgver=7.0.0
pkgrel=3
pkgdesc='Microsoft Azure Security Center Management Client Library for Python.'
arch=('any')
url='https://pypi.org/project/azure-mgmt-security/#files'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.zip")
sha512sums=('a3e72b50ee6479d66ad23792f5e5597470ba8bd9ace353961f4e1e992a3fa5467d50e17b86cec922ee164c205dbb2373ebc6c57195f709f88fca594cb776e89c')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
    --skip-build
}

